/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.rainbowsheep.reisorg.rest.service.repository;

import nl.rainbowsheep.reisorg.rest.service.model.Country;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

/**
 *
 * @author Melis
 */
public interface CountryRepository extends JpaRepository<Country, Long>{
    
    Country findByName(@Param("name") String name);
}
